package com.ndp.fb.fbagent.service;

import com.ndp.fb.redis.model.RedisParams;

import java.io.IOException;

/**
 * Created by infi on 2015/1/22.
 */
public interface RedisParamsFBService {

    /**
     * 同步请求
     *
     * @param redisParams
     * @return
     */
    String makeRequest(RedisParams redisParams) throws IOException;

    /**
     * 异步请求
     *
     * @param redisParams
     */
    void makeRequestAsyn(RedisParams redisParams);
}
